package com.stnet.service.enterprice.chinamobile;

import java.util.List;

import com.modules.commons.Pager;
import com.stnet.entity.Directorder;

/**
 * @author Messcat
 * @version 1.1
 *
 */
public interface DirectorderManagerDao
{

    public abstract Pager findDirectorder(int i, int j, String s);

    public abstract Directorder getDirectorder(Long id);

    public abstract void addDirectorder(Directorder directorder);

    public abstract void updateDirectorder(Directorder directorder);

    public abstract void deleteDirectorder(Long id);
    
    public abstract List findDirectByAgent(Long agent);
    
    public Pager getListByAgent(int pageSize, int pageNo, Long agent);
    
    public abstract int onlineDirectorder(String mobile, int value, int type);

}